A Safe Calculus and Algebra for Querying Functional Logic Deductive Databases
نویسندگان
چکیده
In this paper, we present an extended relational calculus and algebra for a functional logic deductive database language. The extended relational calculus is based on the relational first-order logic, by adding constraints in the form of equalities and disequalities over complex (partially defined and possibly infinite) values and interpreted functions. In addition, we propose the notion of safety over calculus formulas in order to guarantee the property of domain independence. In the case of the extended relational algebra, we provide a generalization of the selection and projection operators in order to restructure complex values by means of constructors and destructors, interpreted functions and function inverses, as well as, to consider equality and disequality constraints. Finally, we will state that the two query formalisms (calculus and algebra) are equivalent.
منابع مشابه
A safe relational calculus for functional logic deductive databases
In this paper, we present an extended relational calculus for expressing queries in functional-logic deductive databases. This calculus is based on first-order logic and handles relation predicates, equalities and inequalities over partially defined terms, and approximation equations. For the calculus formulas, we have studied syntactic conditions in order to ensure the domain independence prop...
متن کاملMASTER OF SCIENCE Computational Mathematics and Modern Information Technologies
Entity-Relationship Data Model: Data structuring, Entity-Relationship Diagrams, Equivalence of EntityRelationship and the Functional Modeling, Algorithms for translating Entity-Relationship Diagrams into Relational and Elementary Mathematical Data Models. Relational Data Model: The structure of the Relational Data Model, Relational Algebra, Relational Calculus, Relational Query Languages, Stati...
متن کاملThe Representation and Deductive Retrieval of Complex Objects
The Relational Data Model and Relational Calculus are extended with Unification and non-recursive Horn Clauses from Logic. The benefits gained include better versatility and a richer functionality for expressing complex Jack, deductive queries and rule-based inJerences. Applications include semantic data models for Databases, frames for Knowledge-based systems, and Complex Objects for CAD. An E...
متن کاملLogic and Databases
Logic and databases have gone a long way together since the advent of relational databases Already the rst basic query languages for relational databases beside relational algebra tuple calculus and domain calculus are actually a subset of rst order predicate logic Furthermore logic proved to be very adequate for establishing a sound theory for rela tional databases When attempts were made to i...
متن کاملA Relational Algebra for Functional Logic Deductive Databases
In this paper, we study the integration of functional logic programming and databases by presenting a data model, and a query and data definition language. The query and data definition language is based on the use of a set of algebra operators over an extended relational algebra. The algebra expressions built from the extended algebra are used for expressing queries and rules. In addition, alg...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004